package com.xiaoxin.dubbo.api;

import com.xiaoxin.model.mongo.RecommendUser;
import com.xiaoxin.model.vo.PageResult;

import java.util.List;

/**
 * @author xiaoxiaode
 * @date 2021-09-01-14:07
 **/
public interface RecommendUserApi {

    RecommendUser maxScore(Long userId);

    PageResult findUserList(Integer page, Integer pagesize, Long toUserId);

    RecommendUser findScore(Long userId, Long id);

    List<RecommendUser> findRecommend(Long userId, int count);
}
